package models

type Admin struct {
	Id       int    `json:"id" form:"id"`
	Nickname string `json:"nickname"`
	Account  string `json:"account" form:"account"`
	Password string `json:"password" form:"password"`
	Email    string `json:"email"`
	Avatar   string `json:"avatar"`
	Status   int    `json:"status"`
	Deleted  int    `json:"deleted"`
	BaseModels
}

func NewAdmin() *Admin {
	return new(Admin)
}

func AdminTable() string {
	return AdminPrefix + "admin"
}
